sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.os
/
[main]EnvironmentCompat
Environment
Compat
class
EnvironmentCompat
(
source
)
Helper for accessing features in
Environment
.
Members
Properties
MEDIA_
UNKNOWN
Link copied to clipboard
val
MEDIA_UNKNOWN
:
String
=
"unknown"
Unknown storage state, such as when a path isn't backed by known storage media.
Functions
get
Storage
State
Link copied to clipboard
@
NonNull
open
fun
getStorageState
(
@
NonNull
path
:
File
)
:
String
Returns the current state of the storage device that provides the given path.